#tag-wrapper
  form
    .tag-images
      display block
      width 100%
      margin 0
      padding 0
      list-style none

    .tag-image
      position relative
      display inline-block
      width 50px
      height 50px
      margin-bottom 10px
      margin-right 4px

      &:last-child
        margin-right 0px


      input[type="radio"]
        width 100%
        height 100%
        margin 0
        padding 0
        background transparent
        -webkit-appearance button /* WebKit */
        -moz-appearance button /* Mozilla */
        -o-appearance button /* Opera */
        -ms-appearance button /* Internet Explorer */
        appearance button
        border 2px solid #333
        border-radius 0px

        &:checked
          border-color #27AE60
          outline 5px auto -webkit-focus-ring-color
          outline-offset -2px
          outline-color #27AE60

      input[type="radio"].error
        border 1px solid #f4999d
        box-shadow inset 0 1px 5px 0 #f4999d

      img
      .tag-image-fill
        position absolute
        left 0px
        top 0px
        width 40px
        height 40px
        z-index -1

      .tag-image-fill
        top 5px
        left 5px
        background-color #555
        z-index -2

    .form-group
      span.error
        top 40px

      .tag-image
        span.error
          display none